package com.example.singleton;

/**
 * @version 1.0.0
 * @className: TestSingleton
 * @description:
 * @author: rosszhang
 * @date: 2022/5/13 8:44
 */
public class TestSingleton {
    public static void main(String[] args) {
        Singleton2 singleton2 = Singleton2.getInstance();
        Singleton2 singleton21 = Singleton2.getInstance();
        System.out.println(singleton2 == singleton21);
    }
}
